package com.lvmama.pangolin.xc.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.xc.XCTicketProduct;


public interface XCTicketProductService
{
	int deleteByPrimaryKey(String id);

	int deleteByByProdId(String product_id);

	int insert(XCTicketProduct record);

	int insertSelective(XCTicketProduct record);

	XCTicketProduct selectByPrimaryKey(String id);

	XCTicketProduct selectByProdId(String productId);

	int updateByPrimaryKeySelective(XCTicketProduct record);
	
	int updateByProdIdSelective(XCTicketProduct record);

	int updateByPrimaryKey(XCTicketProduct record);
	
	PageInfo<XCTicketProduct> getAllList(ProductConditionVO sc);

	List<XCTicketProduct> selectByName(String name);

	List<XCTicketProduct> selectAll();

	List<XCTicketProduct> selectByUrl(String url,String url2);
	
	public void updateByProdId(String productId);
	
	public void deleteLinkByProdId(String productId);
}
